Add "union tags" in mpc.el.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 Mar 2010 00:06:08 +0000 (20:06 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 Mar 2010 00:06:08 +0000 (20:06 -0400)
commitc97bd2ec09f430301c66c055ec4f92eda42d1a39
tree51b371a8e74145e82b183c962efa47e5b6f5a588
parent612e81eb6d82cf9c1e67deeb5d9187fad1daf760
Add "union tags" in mpc.el.
* mpc.el: Remove backward compatibility code.
(mpc-browser-tags): Change default.
(mpc--find-memoize-union-tags): New var.
(mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
(mpc-cmd-find): Handle the case where the playlist does not exist.
Handle union-tags.
(mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
(mpc-cmd-add): Use mpc-cmd-flush.
(mpc-tagbrowser-tag-name): New fun.
(mpc-tagbrowser-buf): Use it.
(mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
etc/NEWS
lisp/ChangeLog
lisp/mpc.el